package com.ijunfu.spring.bean_use._03_bean_autowireCandidate.service;

import lombok.Data;
import org.springframework.beans.factory.annotation.Autowired;

import javax.annotation.Resource;

/**
 *
 * @Title  : 
 * @Author : ijunfu <ijunfu@163.com>
 * @Date   : 2023/11/3 17:13
 * @Version: 1.0
 * @Motto  : 世界很大 世界很小
 *
 */
@Data
public class UserService {

    @Autowired
    private RoleService roleService;

    public void printRoleService(){
        System.out.println(roleService);
    }
}
